# fortune.py

import fileinput
import random

fortunes = list(fileinput.input())
print(random.choice(fortunes))
